
import React from 'react';
import ReactDOM from 'react-dom';

// import './common/style/main.css';

// 启用css模块化之后，导入的css文件是一个对象
import style from './common/style/main.css';
console.log(style)

import style2 from './common/style/index.css';
console.log(style2)

import 'font-awesome/css/font-awesome.css'

ReactDOM.render(
    // <div className='bg'> React </div>,
    <div className={style.bg}>
        <span className={style2.bg}> React </span>
        <span className='fa fa-rocket'> font-awesome </span>
    </div>,
    document.getElementById('root')
);
